package com.sina.interfaces.core.web;

import com.sina.interfaces.core.util.ResultCode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2017-09-21-17:37
 */
public class BaseController {

    public static final ResultCode OK = ResultCode.ok;

    public static final String STATUS = "status";

    public static final String CODE = "code";

    public static final String MSG = "msg";

    public static final String DATA = "data";

    public static final String RESULT = "result";

    public static final String CONTENT_TYPE_JSON_UTF8 = "Content-Type=application/json;charset=UTF-8";

    public static final String ROW_COUNT = "rowCount";

    public static final String PAGE = "page";

    protected static final String LOCAL_PROFILE = "local";

    public static final String RECORDS_FILTERED = "recordsFiltered";

    public static final String DEFAULT_SIGNATURE_VIEW = "signature/result";

    public static final String DEFAULT_VIEW = "resultView";

    protected final Logger LOG = LoggerFactory.getLogger(this.getClass());

}